<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>NFT拍卖平台</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/buttons.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <style>
    #__bs_notify__
    {display: none !important;}
  </style>

  <nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
      <div class="navbar-header">
        <a class="navbar-brand" href="#">NFT拍卖平台</a>
      </div>
      <div>
        <ul class="nav navbar-nav">
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              我的NFT
              <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li><a href="index.html">NFT铸造/认领</a></li>
              <li class="divider"></li>
              <li><a href="MyNFT.html">铸造的NFT</a></li>
              <li class="divider"></li>
              <li><a href="AuctionNFT.html">拍卖的NFT</a></li>
              <li class="divider"></li>
              <li><a href="BoughtNFT.html">购入的NFT</a></li>
            </ul>
          </li>
          <li><a href="Auction.html">拍卖大厅</a></li>
        </ul>
      </div>
    </div>
  </nav>

  <body>
    <div class="container">
      <div class="row">
        <div class="col-xs-12 col-sm-8 col-sm-push-2">
          <h1 class="text-center">铸造/认领NFT</h1>
          <hr/>
          <br/>
        </div>
      </div>
      <p id="test"></p>
      <!-- 按钮触发模态框 -->
      <!--<button type="button" class="btn btn-primary btn-lg btn-test">测试</button>-->

      <p id="none">      </p>
      <div id="NFTsRow" class="row">
        <!-- NFTs LOAD HERE -->
      </div>
    </div>
    <br></br>
    <br></br>
    <center><button class="button button-primary button-pill button-glow btn-lg" data-toggle="modal" data-target="#myModal">发布NFT</button>
      <br></br>
      <br></br>
      <br></br>
      <button class="button button-primary button-pill button-glow btn-claim-money">认领钱财</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <button class="button button-primary button-pill button-glow btn-claim-nft">认领NFT</button>
    </center>>

    <!-- 模态框（Modal） -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog" style="width:400px">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h4 class="modal-title" id="myModalLabel">发布界面</h4>
          </div>
          <form role="form">
            <div class="form-group">
              <div class="modal-body">
              <input type="text" class="form-control" id="name-nft"
                     placeholder="请输入名称">
              </div>
            </div>
            <div class="form-group">
              <div class="modal-body">
                <input type="text" class="form-control" id="uri-nft"
                       placeholder="请输入URI">
              </div>
            </div>
          <div class="modal-footer">
            <button type="submit" class="btn btn-primary btn-release">发布</button>
          </div>
          </form>
        </div><!-- /.modal-content -->
      </div><!-- /.modal -->
    </div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
    <script src="js/web3.min.js"></script>
    <script src="js/truffle-contract.js"></script>
    <script src="js/app.js"></script>
  </body>
</html>
